2003-08-28 Matthias Clasen <maclas@gmx.de>
+ * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
+ fix in the docs.
+
* gtk/gtkuimanager.c: Change the XML format:
<Root> element is replaced by <ui>,
<menu> element is replaced by <menubar>,
2003-08-28 Matthias Clasen <maclas@gmx.de>
+ * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
+ fix in the docs.
+
* gtk/gtkuimanager.c: Change the XML format:
<Root> element is replaced by <ui>,
<menu> element is replaced by <menubar>,
2003-08-28 Matthias Clasen <maclas@gmx.de>
+ * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
+ fix in the docs.
+
* gtk/gtkuimanager.c: Change the XML format:
<Root> element is replaced by <ui>,
<menu> element is replaced by <menubar>,
2003-08-28 Matthias Clasen <maclas@gmx.de>
+ * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
+ fix in the docs.
+
* gtk/gtkuimanager.c: Change the XML format:
<Root> element is replaced by <ui>,
<menu> element is replaced by <menubar>,
2003-08-28 Matthias Clasen <maclas@gmx.de>
+ * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
+ fix in the docs.
+
* gtk/gtkuimanager.c: Change the XML format:
<Root> element is replaced by <ui>,
<menu> element is replaced by <menubar>,
+2003-08-28 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/tmpl/events.sgml: Improve PointerHint docs.
+ * gdk/tmpl/event_structs.sgml: Explain is_hint field in GdkEventMotion.
+ (#120542)
+
2003-08-26 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Rename GtkMenuMerge to GtkUIManager
the mouse.
@state: a bit-mask representing the state of the modifier keys (e.g. Control,
Shift and Alt) and the pointer buttons. See #GdkModifierType.
-@is_hint:
+@is_hint: set to 1 if this event is just a hint, see the %GDK_POINTER_MOTION_HINT_MASK
+ value of #GdkEventMask.
@device: the device where the event originated.
@x_root: the x coordinate of the pointer relative to the root of the screen.
@y_root: the y coordinate of the pointer relative to the root of the screen.
@GDK_WINDOW_STATE_ICONIFIED: the window is minimized.
@GDK_WINDOW_STATE_MAXIMIZED: the window is maximized.
@GDK_WINDOW_STATE_STICKY: the window is sticky.
-@GDK_WINDOW_STATE_FULLSCREEN: the window is maximized without decorations.
+@GDK_WINDOW_STATE_FULLSCREEN: the window is maximized without decorations.
@GDK_WINDOW_STATE_ABOVE: the window is kept above other windows.
@GDK_WINDOW_STATE_BELOW: the window is kept below other windows.
event is received each time the mouse moves. However, if the application
spends a lot of time processing the event (updating the display, for example),
it can easily lag behind the position of the mouse. When using the
-%GDK_POINTER_MOTION_HINT_MASK the server will only send %GDK_MOTION_NOTIFY
-events when the application asks for them, by calling gdk_window_get_pointer().
+%GDK_POINTER_MOTION_HINT_MASK the server will only send a single %GDK_MOTION_NOTIFY
+event (which is marked as a hint) until the application asks for more, by calling
+gdk_window_get_pointer().
</para>
@GDK_EXPOSURE_MASK:
* </para>
* <informalexample><programlisting>
* /* We want to ignore irrelevant modifiers like ScrollLock */
- * #define ALL_ACCELS_MASK (GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK)
+ * #define ALL_ACCELS_MASK (GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK)
* gdk_keymap_translate_keyboard_state (keymap, event->hardware_keycode,
* event->state, event->group,
- * &keyval, NULL, NULL, &consumed);
+ * &keyval, NULL, NULL, &consumed);
* if (keyval == GDK_PLUS &&
- * (event->state & ~consumed & ALL_ACCELS_MASK) == GDK_CONTROL_MASK)
+ * (event->state & ~consumed & ALL_ACCELS_MASK) == GDK_CONTROL_MASK)
* /* Control was pressed */
* </programlisting></informalexample>
* <para>
* <informalexample><programlisting>
* /* XXX Don't do this XXX */
* if (keyval == accel_keyval &&
- * (event->state & ~consumed & ALL_ACCELS_MASK) == (accel_mods & ~consumed))
+ * (event->state & ~consumed & ALL_ACCELS_MASK) == (accel_mods & ~consumed))
* /* Accelerator was pressed */
* </programlisting></informalexample>
* <para>